package com.oceansoft.core.jxkh.service;

import com.oceansoft.core.common.util.Pagination;
import com.oceansoft.core.domain.SysUser;
import com.oceansoft.core.jxkh.domain.Khfk;
import com.oceansoft.core.jxkh.domain.Task;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by begcoffee on 2017/12/11.
 */
public interface ITaskService {
    Pagination querybycondition(HashMap<String, String> map, SysUser user);
    void addTask(Task task) throws Exception;
    void saveTask(Task task) throws Exception;
    void deleteTask(Long dbid) throws Exception;
    int stopTask(Long dbid,String type) throws Exception;
    Task getTaskById(Long dbid) throws Exception;
    void saveKhfk(Khfk khfk) throws Exception;
    Khfk getKhfkById(Long dbid) throws Exception;
}
